import request from "./request";

// 查看是否是有用户状态
export const getSystemStatus = data =>{
  return request({
    url: window.baseUrl + '/user/getSystemStatus',
    method: "get"
  })
}

// 登录
export const login = data => {
  return request({
    url: window.baseUrl + "/user/login",
    method: "post",
    data: data
  })
}